package com.egobuy.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.egobuy.entity.Item;
import com.egobuy.entity.ItemDesc;
import com.egobuy.pojo.BuyResult;
import com.egobuy.pojo.EgoBuyPager;

import java.util.Map;

/**
 * <p>
 * 商品表 服务类
 * </p>
 *
 * @author Hello
 * @since 2021-11-22
 */
public interface IItemService extends IService<Item> {
    public BuyResult<EgoBuyPager<Item>>  queryByPage(int page, int size, Item item);
    BuyResult save(Item item, ItemDesc itemDesc);
    public BuyResult<Map> queryDetail(long itemId);
    public  BuyResult itemStatic(long itemId);
}
